/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.itsc.ds2.bl;

import java.util.List;
import javax.ejb.Local;
import mx.itsc.ds2.enumerations.TransactionStatus;
import mx.itsc.ds2.model.Discs;
import mx.itsc.ds2.model.MusicalGenres;

/**
 *
 * @author Eli
 */
@Local
public interface MusicalGenreBlLocal {

    TransactionStatus register(MusicalGenres musicalGenre);

    TransactionStatus modify(MusicalGenres musicalGenre);

    TransactionStatus delete(MusicalGenres musicalGenre);

    List<MusicalGenres> getAll();
    
    MusicalGenres findById(int musicalGenre);

    List<MusicalGenres> getListByDisc(Discs disc);
    
}